package core

import "Identity/event"

type BlockChain struct {
	chainHeadFeed event.Feed
	scope event.SubscriptionScope
}

func (bc *BlockChain)SubscribeChainHeadEvent(ch <-chan ChainHeadEvent) event.Subscription{
	return bc.scope.Track(bc.chainHeadFeed.Subscribe(ch))
}

